<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>登录</title>
		<link rel="stylesheet" href="css/log.css" />
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<script src="js/login.js" type="text/javascript" charset="utf-8">
			
		</script>
		
	</head>
	<body>
				
		<div class="head">
			<div class="head-img fl"><img src="img/images/hp1.png"></div>
			<div class="head-text fl">欢迎登陆</div>
		</div>
		<div class="menu">
			<div class="menu-account fl">
				<div class="account-text">账户登录</div>
				<div class="account-tip"><a>!</a>公共场所不建议自动登录，以防账号丢失</div>
				<form>
					<div class="username">
						<span><img src="images/LOG_03.jpg"></span>
						<input type="text" name="number" placeholder="邮箱/用户名/手机号" id="number">
					</div>
					<div class="username">
						<span><img src="images/LOG_06.jpg"></span>
						<input type="password" name="password" placeholder="密码" id="passoword">
					</div>
					<div class="box">
						<div class="automatic fl"><input type="checkbox"/>自动登陆</div>
						<div class="forget fr"><a href="">忘记密码</a></div>
					</div>
					<div class="log-in"><input type="button" value="登陆" id="button" onclick="getButton();"/></div>
					<div class="log-line"></div>
					<div class="log-way">
						<div class="log-qq fl"><div class="qq-img fl"><img src="images/LOG_10.jpg"></div><p class="qq-text fl">QQ</q></div>
						<div class="log-weixin fl"><div class="weixin-img fl"><img src="images/LOG_13.jpg"></div><div class="weixin-text fl">微信</div></div>
						<div class="log-weibo fl"><div class="weibo-img fl"><img src="images/LOG_15.jpg"></div><div class="weibo-text fl">微博</div></div>
						<div class="log-first fl"><div class="first-img fl"><img src="images/LOG_18.jpg"></div><div class="first-text fl"><a href="registered.html">立即注册</a></div></div>
					</div>
				</form>
			</div>
		</div>
		<div class="HomePageheadbottom">
				<div class="HomePageheadbottom-line">
					
				</div>
				<div class="HomePageheadbottom-list">
					<p>
						<img src="images/hp5.png"/>
						<span>100%个性定制</span>
					</p>
					<p>
						<img src="images/hp6.png"/>
						<span>100%正品保证</span>
					</p>
					<p>
						<img src="images/hp7.png"/>
						<span>7-14内发货</span>
					</p>
					<p>
						<img src="images/hp8.png"/>
						<span>365天客服热线</span>
					</p>
				</div>
				<div class="HomePageheadbottom-list1">
					<div class="HomePageheadbottom-list01">
						<h4>新手指南</h4>
						<p><a href="">用户注册</a></p>
						<p><a href="">在线帮助</a></p>
						<p><a href="">定制流程</a></p>
					</div>
					<div class="HomePageheadbottom-list01">
						<h4>支付方式</h4>
						<p><a href="">在线支付</a></p>
						<p><a href="">支付问题</a></p>
						
					</div>
					<div class="HomePageheadbottom-list01">
						<h4>配送方式</h4>
						<p><a href="">配送政策</a></p>
						<p><a href="">运费说明</a></p>
						<p><a href="">签收说明</a></p>
					</div>
					<div class="HomePageheadbottom-list01">
						<h4>售后服务</h4>
						<p><a href="">投诉建议</a></p>
						<p><a href="">正品承诺</a></p>
						<p><a href="">售后咨询</a></p>
					</div>
				</div>
				<div class="HomePageheadbottom-list2">
					<p>
						© 2016 Wildto Corpation. All Rights Reserved闽ICP备14001544号-1
					</p>
				</div>
			</div>
			
		</div>
	</body>
	<script type="text/javascript">
//		getSubmit();
//function getSubmit(){
//	
//	var number = document.getElementById("number");
//	var passwored = document.getElementById("passoword");
//	if(number=="1111" && passwored=="123456"){
//		alert("11111");
////		self.location='registered.html'; 
//	}
//}

window.onload=function(){
				var button=document.getElementById("button");
				var number=document.getElementById("number");
				var password = document.getElementById("passoword");
//				function getButton(){
//					if (number=="1111" && passwored=="123456") {
//						alert("111111");
//					}
//				}
				button.onclick=function(){
					if(number.value==1111 &&password.value==123456){
						window.open("index.html");
					}else{
						alert("登录失败。。。。");
					}
				}

			}
	</script>
</html>
